﻿using Admin2024.Application.Contracts.Role.Dto;
using Admin2024.Application.Contracts.User.Dto;
using Admin2024.Domain.Entity.System;
using Admin2024.Domain.ObjValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Application.Contracts.Role
{
    public interface IRoleInfoService
    {
        //获取指定角色
        Task<DomainResult<RoleDto>> GetRoleById(Guid roleId);

        //获取所有角色分页
        Task<DomainResult<List<RoleDto>>> GetRolesWithPagination(int page, int pageSize);

        //修改角色信息 
        Task<DomainResult<RoleDto>> UpdateRoleInfo(Guid roleId, RoleUpdateDto roleUpdateDto);

        //新增角色
        Task<DomainResult<RoleDto>> CreateRole(string roleName, string Description);

        //删除角色
        Task<DomainResult<RoleDto>> RemoveRole(Guid roleId);

   
    }
}
